<html>
<head><meta charset="utf-8"><title>async/.await, generators, this WG · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html">async/.await, generators, this WG</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="232729544"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232729544" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Markus Pfeiffer <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232729544">(Apr 01 2021 at 09:43)</a>:</h4>
<p>Hi all. Sorry if this is the wrong place to ask this question. I was wondering what the current status and/or relationship between async/ .await, generators and this WG is. (In particular the remit of this WG seems to be async <em>IO</em> which looks like a specific restriction but might not be?)</p>



<a name="232730480"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232730480" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Markus Pfeiffer <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232730480">(Apr 01 2021 at 09:50)</a>:</h4>
<p>(also coroutines, the topic seems like a terminology minefield)</p>



<a name="232739301"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232739301" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232739301">(Apr 01 2021 at 11:08)</a>:</h4>
<p><span class="user-mention" data-user-id="401849">@Markus Pfeiffer</span> I would say that generators are something that this WG could pursue</p>



<a name="232739364"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232739364" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232739364">(Apr 01 2021 at 11:08)</a>:</h4>
<p>but if we do so, it may also be worth spinning out a dedicated project group around it</p>



<a name="232739380"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232739380" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232739380">(Apr 01 2021 at 11:09)</a>:</h4>
<p>it seems bigger than just Async, though async is a clear application</p>



<a name="232739402"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232739402" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232739402">(Apr 01 2021 at 11:09)</a>:</h4>
<p><span class="user-mention" data-user-id="119031">@Esteban Küber</span> and I have been talking about it</p>



<a name="232757203"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232757203" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Markus Pfeiffer <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232757203">(Apr 01 2021 at 13:36)</a>:</h4>
<p>I was trying to wrap my head around what is available in rust right now and what wants looking at;</p>



<a name="232757257"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232757257" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Markus Pfeiffer <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232757257">(Apr 01 2021 at 13:37)</a>:</h4>
<p>there's async/.await which produces futures and the whole infrastructure that comes with it</p>



<a name="232757317"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232757317" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Markus Pfeiffer <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232757317">(Apr 01 2021 at 13:37)</a>:</h4>
<p>and then there's generators in unstable rust</p>



<a name="232765662"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232765662" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232765662">(Apr 01 2021 at 14:29)</a>:</h4>
<p>there has been quite a lot of discussion on this topic over time</p>



<a name="232765705"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232765705" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232765705">(Apr 01 2021 at 14:29)</a>:</h4>
<p>this <a href="https://lang-team.rust-lang.org/design_notes/general_coroutines.html">lang team design note</a> has some more notes, <span class="user-mention" data-user-id="401849">@Markus Pfeiffer</span></p>



<a name="232767497"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/async/.await%2C%20generators%2C%20this%20WG/near/232767497" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Markus Pfeiffer <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/async.2F.2Eawait.2C.20generators.2C.20this.20WG.html#232767497">(Apr 01 2021 at 14:38)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> I see; I think I stumbled over this yesterday, my main problem likely is the lack of a "definitive" source. All understandable seeing as this corner of rust seems to be not as established as I had assumed previously.</p>
<p>I'll do some reading (and coding) and come back then; otherwise I shall be lurking on the zulip</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>